using System;

namespace phorm.config
{
    /// <summary>
    /// Singleton configuration class that holds parameters object.
    /// </summary>
    public static class PhormConfig
    {
        /// <summary>
        /// Private PhormParams object that holds configuration data.
        /// </summary>
        private static PhormParams _phormParams = new PhormParams();

        /// <summary>
        /// phormParams accessor method for proper Singleton access to application parameters.
        /// </summary>
        public static PhormParams phormParams
        {
            get
            {
                return PhormConfig._phormParams;
            }
            set
            {
                PhormConfig._phormParams = value;
            }
        }
    }
}
